/*
 * @Description: Vuex入口
 * @Author: hai-27
 * @Date: 2020-02-07 16:23:00
 * @LastEditors: hai-27
 * @LastEditTime: 2020-02-25 22:51:50
 */
import Vue from 'vue'
import Vuex from 'vuex'

import user from './modules/user'
import shoppingCart from './modules/shoppingCart'

Vue.use(Vuex)

export default new Vuex.Store({
    strict: true,
    modules: {
        user,
        shoppingCart
    },
    state: {
        /**
         * @基础数据
         * */
        Pojo: {
            Administrators: {
                password: "null%value",
                creattime: '1099-01-01 00:00:00.000+0000',
                name: "未登录",
                id: -1,
                power: null,
                state: -1
            },
            Customer: {
                "cid": -1,
                "name": "",
                "password": "",
                qq: "",
                wx: "",
                email: "",
                "age": "",
                "sex": "",
                "telephone": "",
                "vip": "",
                "pic": "",
                "describe": "",
                "creattime": "",
                "state": 0
            },
            Merchant: {
                "mid": -1,
                "name": "",
                "password": "",
                qq: "",
                wx: "",
                email: "",
                "telephone": "",
                "pic": {url:"1.jpg"},
                "describe": "",
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            },
            Picture: {
                "picid": -1,
                "url": "",
                "creattime": "2021-12-11 14:56:52",
                "state": ""
            },
            Introduce: {
                "iid": -1,
                "content": "",
                "creattime": "2021-12-11 14:56:52",
                "updatetime": "2021-12-11 14:56:52",
                "state": ""
            },
            Log: {
                "lid": -1,
                "userCode": "",
                "ip": "",
                "type": "",
                "describe": "",
                "model": "",
                "runtime": "",
                "creattime": "2021-12-11 14:56:52",
                "result": ""
            },
            Activity: {
                "aid": -1,
                "type": -1,
                "name": "",
                "rule": 1,
                "creattime": "1099-01-01 00:00:00.000+0000",
                "failtime": "2099-01-01 00:00:00.000+0000",
                "state": -1
            },
            Card: {
                "caid": 0,
                "name": "",
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            },
            Rule: {
                "rid": 0,
                "rule": "",
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            },
            Goods: {
                "gid": 0,
                "name": "",
                "mid": 0,
                "caid": 0,
                "pic": 0,
                "describe": 0,
                "number": 0,
                "aid": 0,
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            },
            Salegoods: {
                "sgid": 0,
                "gid": 0,
                "price": 0.00,
                "number": 0,
                "unit": "",
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            },
            GoodsVo: {
                "gid": 0,
                "name": "",
                price: "",
                "merchant": {
                    "mid": 0,
                    "name": "",
                    "password": "",
                    "telephone": 0,
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2021-12-11 14:56:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2021-12-11 14:56:52",
                        "updatetime": "2021-12-11 14:56:52",
                        "state": 0
                    },
                    "creattime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "card": {
                    "caid": 0,
                    "name": "",
                    "creattime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "picture": {
                    "picid": "",
                    "url": "1.jpg",
                    "creattime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "describe": {
                    "iid": 0,
                    "content": "",
                    "creattime": "2021-12-11 14:56:52",
                    "updatetime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "number": 0,
                "activity": {
                    "aid": 0,
                    "type": 0,
                    "name": "",
                    "rule": {
                        "rid": 0,
                        "rule": "",
                        "creattime": "2021-12-11 14:56:52",
                        "state": 0
                    },
                    "creattime": "2021-12-11 14:56:52",
                    "failtime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "creattime": "2021-12-11 14:56:52",
                "state": 0,
                "view": 0,
                "sale": 0,
                "list": [
                    {
                        "sgid": 0,
                        "gid": 0,
                        "price": 0.00,
                        "number": 0,
                        "unit": "",
                        "creattime": "2021-12-11 14:56:52",
                        "state": 0
                    }
                ]
            },
            Shippingaddress: {
                sid: 0,
                belong: "",
                name: "",
                cname: "",
                address: "",
                sex: "",
                telephone: 0,
                creattime: "2021-12-25 19:55:58",
                state: 0
            },
            OrderVo: {
                "oid": 0,
                "sgid": {
                    "sgid": 0,
                    "gid": 0,
                    "price": 0.00,
                    "number": 0,
                    "unit": "",
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0
                },
                "goods": {
                    "gid": 0,
                    "name": "",
                    "merchant": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "card": {
                        "caid": 0,
                        "name": "",
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "picture": {
                        "picid": "",
                        "url": "1.jpg",
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2021-12-25 19:55:58",
                        "updatetime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "number": 0,
                    "activity": {
                        "aid": 0,
                        "type": 0,
                        "name": "",
                        "rule": {
                            "rid": 0,
                            "rule": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "failtime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0,
                    "view": 0,
                    "sale": 0,
                    "list": [
                        {
                            "sgid": 0,
                            "gid": 0,
                            "price": 0.00,
                            "number": 0,
                            "unit": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        }
                    ]
                },
                "sid": {
                    "sid": 0,
                    "belongM": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "belongC": {
                        "cid": 0,
                        "name": "",
                        "password": "",
                        "age": 0,
                        "sex": 0,
                        "telephone": 0,
                        "vip": "",
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "name": "",
                    "cname": "",
                    "address": "",
                    "sex": "",
                    "telephone": 0,
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0
                },
                "cid": {
                    "cid": 0,
                    "name": "",
                    "password": "",
                    "age": 0,
                    "sex": 0,
                    "telephone": 0,
                    "vip": "",
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2021-12-25 19:55:58",
                        "updatetime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0
                },
                "sfid": {
                    "sid": 0,
                    "belongM": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "belongC": {
                        "cid": 0,
                        "name": "",
                        "password": "",
                        "age": 0,
                        "sex": 0,
                        "telephone": 0,
                        "vip": "",
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "name": "",
                    "cname": "",
                    "address": "",
                    "sex": "",
                    "telephone": 0,
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0
                },
                "coupons": 0,
                "payable": 0.00,
                "number": 0,
                "creattime": "2021-12-25 19:55:58",
                "state": 0,
                "list": [
                    {
                        "oid": 0,
                        "state": 0,
                        "updatetime": "2021-12-25 19:55:58"
                    }
                ]
            },
            CollectionexVo: {
                "coid": 0,
                "customer": {
                    "cid": 0,
                    "name": "",
                    "password": "",
                    "qq": "",
                    "wx": "",
                    "email": "",
                    "age": 0,
                    "sex": 0,
                    "telephone": 0,
                    "vip": "",
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "good": {
                    "gid": 0,
                    "name": "",
                    "price": 0.00,
                    "merchant": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "qq": "",
                        "wx": "",
                        "email": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2022-01-05 23:20:52",
                            "updatetime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "card": {
                        "caid": 0,
                        "name": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "picture": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "number": 0,
                    "activity": {
                        "aid": 0,
                        "type": 0,
                        "name": "",
                        "rule": {
                            "rid": 0,
                            "rule": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "failtime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0,
                    "view": 0,
                    "sale": 0,
                    "list": [
                        {
                            "sgid": 0,
                            "gid": 0,
                            "price": 0.00,
                            "number": 0,
                            "unit": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        }
                    ]
                },
                "state": 0,
                "creattime": "2022-01-05 23:20:52"
            },
            CommentsVo: {
                "coid": 0,
                "user": {},
                "good": {
                    "gid": 0,
                    "name": "",
                    "price": 0.00,
                    "merchant": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "qq": "",
                        "wx": "",
                        "email": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2022-01-05 23:20:52",
                            "updatetime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "card": {
                        "caid": 0,
                        "name": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "picture": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "number": 0,
                    "activity": {
                        "aid": 0,
                        "type": 0,
                        "name": "",
                        "rule": {
                            "rid": 0,
                            "rule": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "failtime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0,
                    "view": 0,
                    "sale": 0,
                    "list": [
                        {
                            "sgid": 0,
                            "gid": 0,
                            "price": 0.00,
                            "number": 0,
                            "unit": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        }
                    ]
                },
                "context": "",
                "like": 0,
                "state": 0,
                "creattime": "2022-01-05 23:20:52",
                "l": [
                    {
                        "reid": 0,
                        "coid": 0,
                        "from": {},
                        "to": {},
                        "context": "",
                        "like": 0,
                        "state": 0,
                        "creattime": "2022-01-05 23:20:52"
                    }
                ]
            },
            HistoryVo: {
                "hid": 0,
                "customer": {
                    "cid": 0,
                    "name": "",
                    "password": "",
                    "qq": "",
                    "wx": "",
                    "email": "",
                    "age": 0,
                    "sex": 0,
                    "telephone": 0,
                    "vip": "",
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "good": {
                    "gid": 0,
                    "name": "",
                    "price": 0.00,
                    "merchant": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "qq": "",
                        "wx": "",
                        "email": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2022-01-05 23:20:52",
                            "updatetime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "card": {
                        "caid": 0,
                        "name": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "picture": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "number": 0,
                    "activity": {
                        "aid": 0,
                        "type": 0,
                        "name": "",
                        "rule": {
                            "rid": 0,
                            "rule": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "failtime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0,
                    "view": 0,
                    "sale": 0,
                    "list": [
                        {
                            "sgid": 0,
                            "gid": 0,
                            "price": 0.00,
                            "number": 0,
                            "unit": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        }
                    ]
                },
                "creattime": "2022-01-05 23:20:52"
            },
            MerchantmessageVo: {
                "mmid": 0,
                "merchant": {
                    "mid": 0,
                    "name": "",
                    "password": "",
                    "qq": "",
                    "wx": "",
                    "email": "",
                    "telephone": 0,
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "title": "",
                "msg": "",
                "creattime": "2022-01-05 23:20:52"
            },
            ReplyVo: {
                "reid": 0,
                "coid": 0,
                "from": {},
                "to": {},
                "context": "",
                "like": 0,
                "state": 0,
                "creattime": "2022-01-05 23:20:52"
            },
            WorkVo: {
                "wid": 0,
                "id": {
                    "id": 0,
                    "name": "",
                    "password": "",
                    "power": 0,
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "worker": {
                    "id": 0,
                    "name": "",
                    "password": "",
                    "power": 0,
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "name": "",
                "context": "",
                "creattime": "2022-01-05 23:20:52",
                "l": [
                    {
                        "wsid": 0,
                        "wid": 0,
                        "title": "",
                        "belong": {
                            "id": 0,
                            "name": "",
                            "password": "",
                            "power": 0,
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "to": {
                            "id": 0,
                            "name": "",
                            "password": "",
                            "power": 0,
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "state": 0,
                        "creattime": "2022-01-05 23:20:52"
                    }
                ]
            },
            WorkstateVo: {
                "wsid": 1,
                "wid": 1,
                "title": "任务由<1>admin创建",
                "belong": {
                    "id": 0,
                    "name": "",
                    "password": "",
                    "power": 0,
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "to": {
                    "id": 0,
                    "name": "",
                    "password": "",
                    "power": 0,
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "state": 1,
                "creattime": "2022-01-05 23:20:52"
            }
        },
        /**
         * @基础数据链表
         * */
        List: {
            Administrators: [{
                password: "csyl11",
                creattime: '1630669178000',
                name: "测试用例1",
                id: 15,
                power: 2,
                state: 1
            }],
            Activity: [{
                "aid": -1,
                "type": -1,
                "name": "",
                "rule": -1,
                "creattime": "1099-01-01 00:00:00.000+0000",
                "failtime": "2099-01-01 00:00:00.000+0000",
                "state": -1
            }],
            Customer: [{
                "cid": -1,
                "name": "",
                "password": "",
                qq: "",
                wx: "",
                email: "",
                "age": "",
                "sex": "",
                "telephone": "",
                "vip": "",
                "pic": "",
                "describe": "",
                "creattime": "1099-01-01 00:00:00.000+0000",
                "state": 0
            }],
            Merchant: [{
                "mid": -1,
                "name": "",
                "password": "",
                qq: "",
                wx: "",
                email: "",
                "telephone": "",
                "pic": "",
                "describe": "",
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            }],
            Picture: [{
                "picid": -1,
                "url": "",
                "creattime": "2021-12-11 14:56:52",
                "state": ""
            }],
            Introduce: [{
                "iid": -1,
                "content": "",
                "creattime": "2021-12-11 14:56:52",
                "updatetime": "2021-12-11 14:56:52",
                "state": ""
            }],
            Log: [{
                "lid": -1,
                "userCode": "",
                "ip": "",
                "type": "",
                "describe": "",
                "model": "",
                "runtime": "",
                "creattime": "2021-12-11 14:56:52",
                "result": ""
            }],
            Card: [{
                "caid": 0,
                "name": "",
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            }],
            Rule: [{
                "rid": 0,
                "rule": "",
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            }],
            Goods: [{
                "gid": 0,
                "name": "",
                "mid": 0,
                "caid": 0,
                "pic": 0,
                "describe": 0,
                "number": 0,
                "aid": 0,
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            }],
            Salegoods: [{
                "sgid": 0,
                "gid": 0,
                "price": 0.00,
                "number": 0,
                "unit": "",
                "creattime": "2021-12-11 14:56:52",
                "state": 0
            }],
            GoodsVo: [{
                "gid": 0,
                "name": "",
                price: "",
                "merchant": {
                    "mid": 0,
                    "name": "",
                    "password": "",
                    "telephone": 0,
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2021-12-11 14:56:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2021-12-11 14:56:52",
                        "updatetime": "2021-12-11 14:56:52",
                        "state": 0
                    },
                    "creattime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "card": {
                    "caid": 0,
                    "name": "",
                    "creattime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "picture": {
                    "picid": "",
                    "url": "1.jpg",
                    "creattime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "describe": {
                    "iid": 0,
                    "content": "",
                    "creattime": "2021-12-11 14:56:52",
                    "updatetime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "number": 0,
                "activity": {
                    "aid": 0,
                    "type": 0,
                    "name": "",
                    "rule": {
                        "rid": 0,
                        "rule": "",
                        "creattime": "2021-12-11 14:56:52",
                        "state": 0
                    },
                    "creattime": "2021-12-11 14:56:52",
                    "failtime": "2021-12-11 14:56:52",
                    "state": 0
                },
                "creattime": "2021-12-11 14:56:52",
                "state": 0,
                "view": 0,
                "sale": 0,
                "list": [
                    {
                        "sgid": 0,
                        "gid": 0,
                        "price": 0.00,
                        "number": 0,
                        "unit": "",
                        "creattime": "2021-12-11 14:56:52",
                        "state": 0
                    }
                ]
            }],
            OrderVo: [{
                "oid": 0,
                "sgid": {
                    "sgid": 0,
                    "gid": 0,
                    "price": 0.00,
                    "number": 0,
                    "unit": "",
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0
                },
                "goods": {
                    "gid": 0,
                    "name": "",
                    "merchant": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "card": {
                        "caid": 0,
                        "name": "",
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "picture": {
                        "picid": "",
                        "url": "1.jpg",
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2021-12-25 19:55:58",
                        "updatetime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "number": 0,
                    "activity": {
                        "aid": 0,
                        "type": 0,
                        "name": "",
                        "rule": {
                            "rid": 0,
                            "rule": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "failtime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0,
                    "view": 0,
                    "sale": 0,
                    "list": [
                        {
                            "sgid": 0,
                            "gid": 0,
                            "price": 0.00,
                            "number": 0,
                            "unit": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        }
                    ]
                },
                "sid": {
                    "sid": 0,
                    "belongM": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "belongC": {
                        "cid": 0,
                        "name": "",
                        "password": "",
                        "age": 0,
                        "sex": 0,
                        "telephone": 0,
                        "vip": "",
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "name": "",
                    "cname": "",
                    "address": "",
                    "sex": "",
                    "telephone": 0,
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0
                },
                "cid": {
                    "cid": 0,
                    "name": "",
                    "password": "",
                    "age": 0,
                    "sex": 0,
                    "telephone": 0,
                    "vip": "",
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2021-12-25 19:55:58",
                        "updatetime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0
                },
                "sfid": {
                    "sid": 0,
                    "belongM": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "belongC": {
                        "cid": 0,
                        "name": "",
                        "password": "",
                        "age": 0,
                        "sex": 0,
                        "telephone": 0,
                        "vip": "",
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2021-12-25 19:55:58",
                            "updatetime": "2021-12-25 19:55:58",
                            "state": 0
                        },
                        "creattime": "2021-12-25 19:55:58",
                        "state": 0
                    },
                    "name": "",
                    "cname": "",
                    "address": "",
                    "sex": "",
                    "telephone": 0,
                    "creattime": "2021-12-25 19:55:58",
                    "state": 0
                },
                "coupons": 0,
                "payable": 0.00,
                "number": 0,
                "creattime": "2021-12-25 19:55:58",
                "state": 0,
                "list": [
                    {
                        "oid": 0,
                        "state": 0,
                        "updatetime": "2021-12-25 19:55:58"
                    }
                ]
            }],
            /***
             * wid 主键 not null
             * id 任务发布者(超级管理员,不可更改)  admin-id not null
             * worker 任务执行者(可以更改),如果为null,所有人都要去做  admin-id null
             * name 任务名称  string not null
             * context 任务内容 longtext<html> not null
             * creattime 任务创建时间 not null
             */
            /***
             * wsid 任务状态历史表 not null
             * wid work表主键 not null
             * title 任务状态转变内容,例如"1任务由xxx创建","1任务由xxx执行中", not null
             * "0任务由xxx封禁","3任务由xxx完成",
             * "4任务由xxx转发给xxx","4任务转发被xxx拒绝(创建者转发不可拒绝,直接执行)","4任务转发被xxx接收"
             * belong worker-id,用于转发状态,转发者的id null
             * to  admin-id,用于转发状态,被转发者的id null
             * state 任务状态 0封禁,1正常执行中2提交给任务发布者审核,3完成,4转发(临时状态,生成后作为历史标签,再变为1) not null
             * creattime 任务状态创建时间 not null
             */
            /**
             * 转发说明
             * 1.任务只能由超级管理员创建,且worker不为null的任务才可转发,此次转发的对象,直接执行任务,不可拒绝,增加state=>1
             * 2.任务执行中,state===1,此时,可以转发任务,belong设置该角色,to设置需要转发的角色,然后增加state=>4,此时任务不可以完成了,
             * 设置worker为to的角色
             * 3.被转发的角色可以根据任务状态历史表的state看到自己被转法了哪些任务,
             * 接收就增加state=>1,拒绝就把worker变为belong,增加state=>4
             */
            WorkVo: [{
                "wid": 0,
                "id": {
                    "id": 0,
                    "name": "",
                    "password": "",
                    "power": 0,
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "worker": {
                    "id": 0,
                    "name": "",
                    "password": "",
                    "power": 0,
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "name": "",
                "context": "",
                "creattime": "2022-01-05 23:20:52",
                "l": [
                    {
                        "wsid": 0,
                        "wid": 0,
                        "title": "",
                        "belong": {
                            "id": 0,
                            "name": "",
                            "password": "",
                            "power": 0,
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "to": {
                            "id": 0,
                            "name": "",
                            "password": "",
                            "power": 0,
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "state": 0,
                        "creattime": "2022-01-05 23:20:52"
                    }
                ]
            }],
            WorkstateVo: [{
                "wsid": 1,
                "wid": 1,
                "title": "任务由<1>admin创建",
                "belong": {
                    "id": 0,
                    "name": "",
                    "password": "",
                    "power": 0,
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "to": {
                    "id": 0,
                    "name": "",
                    "password": "",
                    "power": 0,
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "state": 1,
                "creattime": "2022-01-05 23:20:52"
            }],
            Shippingaddress: [{
                "sid": 0,
                "belongC": {name: ""},
                "belongM": {name: ""},
                "name": "",
                "cname": "",
                "address": "",
                "sex": "",
                "telephone": 0,
                "creattime": "2021-12-25 19:55:58",
                "state": 0
            }],
            CollectionexVo: [{
                "coid": 0,
                "customer": {
                    "cid": 0,
                    "name": "",
                    "password": "",
                    "qq": "",
                    "wx": "",
                    "email": "",
                    "age": 0,
                    "sex": 0,
                    "telephone": 0,
                    "vip": "",
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "good": {
                    "gid": 0,
                    "name": "",
                    "price": 0.00,
                    "merchant": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "qq": "",
                        "wx": "",
                        "email": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2022-01-05 23:20:52",
                            "updatetime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "card": {
                        "caid": 0,
                        "name": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "picture": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "number": 0,
                    "activity": {
                        "aid": 0,
                        "type": 0,
                        "name": "",
                        "rule": {
                            "rid": 0,
                            "rule": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "failtime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0,
                    "view": 0,
                    "sale": 0,
                    "list": [
                        {
                            "sgid": 0,
                            "gid": 0,
                            "price": 0.00,
                            "number": 0,
                            "unit": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        }
                    ]
                },
                "state": 0,
                "creattime": "2022-01-05 23:20:52"
            }],
            CommentsVo: [{
                "coid": 0,
                "user": {},
                "good": {
                    "gid": 0,
                    "name": "",
                    "price": 0.00,
                    "merchant": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "qq": "",
                        "wx": "",
                        "email": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2022-01-05 23:20:52",
                            "updatetime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "card": {
                        "caid": 0,
                        "name": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "picture": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "number": 0,
                    "activity": {
                        "aid": 0,
                        "type": 0,
                        "name": "",
                        "rule": {
                            "rid": 0,
                            "rule": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "failtime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0,
                    "view": 0,
                    "sale": 0,
                    "list": [
                        {
                            "sgid": 0,
                            "gid": 0,
                            "price": 0.00,
                            "number": 0,
                            "unit": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        }
                    ]
                },
                "context": "",
                "like": 0,
                "state": 0,
                "creattime": "2022-01-05 23:20:52",
                "l": [
                    {
                        "reid": 0,
                        "coid": 0,
                        "from": {},
                        "to": {},
                        "context": "",
                        "like": 0,
                        "state": 0,
                        "creattime": "2022-01-05 23:20:52"
                    }
                ]
            }],
            HistoryVo: [{
                "hid": 0,
                "customer": {
                    "cid": 0,
                    "name": "",
                    "password": "",
                    "qq": "",
                    "wx": "",
                    "email": "",
                    "age": 0,
                    "sex": 0,
                    "telephone": 0,
                    "vip": "",
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "good": {
                    "gid": 0,
                    "name": "",
                    "price": 0.00,
                    "merchant": {
                        "mid": 0,
                        "name": "",
                        "password": "",
                        "qq": "",
                        "wx": "",
                        "email": "",
                        "telephone": 0,
                        "pic": {
                            "picid": "",
                            "url": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "describe": {
                            "iid": 0,
                            "content": "",
                            "creattime": "2022-01-05 23:20:52",
                            "updatetime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "card": {
                        "caid": 0,
                        "name": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "picture": {
                        "picid": "",
                        "url": "1.jpg",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "number": 0,
                    "activity": {
                        "aid": 0,
                        "type": 0,
                        "name": "",
                        "rule": {
                            "rid": 0,
                            "rule": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        },
                        "creattime": "2022-01-05 23:20:52",
                        "failtime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0,
                    "view": 0,
                    "sale": 0,
                    "list": [
                        {
                            "sgid": 0,
                            "gid": 0,
                            "price": 0.00,
                            "number": 0,
                            "unit": "",
                            "creattime": "2022-01-05 23:20:52",
                            "state": 0
                        }
                    ]
                },
                "creattime": "2022-01-05 23:20:52"
            }],
            MerchantmessageVo: [{
                "mmid": 0,
                "merchant": {
                    "mid": 0,
                    "name": "",
                    "password": "",
                    "qq": "",
                    "wx": "",
                    "email": "",
                    "telephone": 0,
                    "pic": {
                        "picid": "",
                        "url": "",
                        "creattime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "describe": {
                        "iid": 0,
                        "content": "",
                        "creattime": "2022-01-05 23:20:52",
                        "updatetime": "2022-01-05 23:20:52",
                        "state": 0
                    },
                    "creattime": "2022-01-05 23:20:52",
                    "state": 0
                },
                "title": "",
                "msg": "",
                "creattime": "2022-01-05 23:20:52"
            }],
            ReplyVo: [{
                "reid": 0,
                "coid": 0,
                "from": {},
                "to": {},
                "context": "",
                "like": 0,
                "state": 0,
                "creattime": "2022-01-05 23:20:52"
            }],

        },
        /**
         * @后端根域端口
         * */
        baseURL: "http://localhost:8082/",
        /**
         * @本地根域端口
         * */
        windowURL: "http://localhost:9524/",
        /**
         * @一级后端端口
         * */
        controller: {
            Goods: "GoodsVo",
            Comments: "Comments",
            Card: "Card",
            Login:"Login",
            Order:"OrderVo",
            Collect:"Collectionex",
            History:"History",
            Merchant:"Merchant",
            Address:"Shippingaddress",
            Activity:"Activity",
            Reply:"Reply",
        },
        /**
         * @各类操作接口
         * */
        mappings: {
            save: "save",
            search: "query",
            login:"login",
            signup:"signup",
            like:"queryLike",
            at:"queryById",
            sale:'sale',
            loginByEmail:'login/email',
            sendEmail:'sendEmail',
        },
        methods: {}
    },
})
